<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

/*
|--------------------------------------------------------------------------
| File and Directory Modes
|--------------------------------------------------------------------------
|
| These prefs are used when checking and setting modes when working
| with the file system.  The defaults are fine on servers with proper
| security, but you may wish (or even need) to change the values in
| certain environments (Apache running a separate process for each
| user, PHP under CGI with Apache suEXEC, etc.).  Octal values should
| always be used to set the mode correctly.
|
*/
define('FILE_READ_MODE', 0644);
define('FILE_WRITE_MODE', 0666);
define('DIR_READ_MODE', 0755);
define('DIR_WRITE_MODE', 0777);

/*
|--------------------------------------------------------------------------
| File Stream Modes
|--------------------------------------------------------------------------
|
| These modes are used when working with fopen()/popen()
|
*/

define('FOPEN_READ',							'rb');
define('FOPEN_READ_WRITE',						'r+b');
define('FOPEN_WRITE_CREATE_DESTRUCTIVE',		'wb'); // truncates existing file data, use with care
define('FOPEN_READ_WRITE_CREATE_DESTRUCTIVE',	'w+b'); // truncates existing file data, use with care
define('FOPEN_WRITE_CREATE',					'ab');
define('FOPEN_READ_WRITE_CREATE',				'a+b');
define('FOPEN_WRITE_CREATE_STRICT',				'xb');
define('FOPEN_READ_WRITE_CREATE_STRICT',		'x+b');

/* DEAL CITY */
define('ENABLED', 1);
define('DISABLED', 0);

define('VIEW_PRICE', 0);
define('VIEW_PERCENT', 1);

define('ALL_DEALS', 'All Deals');

define('PAYPAL', 'Paypal');
define('CC', 'Credit Card');

define('ORDER_WAITING', 'Waiting');

/*
 * GAMES4FUN
 */
define('TEMPLATE_CODE', 'default');
define('GAME_IMAGES_URI', 'images/games/');
define('PRODUCT_IMAGES_URI', 'images/products/');

define('TEMPLATE_CSS_PATH', '/application/views/templates/'. TEMPLATE_CODE .'/css');
define('TEMPLATE_IMAGE_PATH', '/application/views/templates/'. TEMPLATE_CODE .'/images');
define('TEMPLATE_JS_PATH', '/application/views/templates/'. TEMPLATE_CODE .'/js');


/*  USER_TYPE*/
define('USER_TYPE_ADMIN', 'admin');
define('USER_TYPE_SELLER', 'seller');
define('USER_TYPE_USER', 'user');

define('EXPIRE_ACTIVATE_DATE', '2');
/* MERCHANT SERVICE*/
define('SOAP_YES','YES');
define('SOAP_NO','NO');

/* COUNTRY CODE */
define('COUNTRY_ID_US',184);

/* SITE NAME */
define('SITE_SLOGAN','Games4fun - Play for fun');
/* PAYMENT */
define('CHILD_KEY_LOCATION',BASEPATH."/../keys/childKeyQA1");
define('PARENT_KEY_LOCATION',BASEPATH."/../keys/parentKeyQA1");
define('PAYMENT_USERNAME','GivemartQAUser');
define('PAYMENT_PASS','testMeQAPw');
define('PAYMENT_MERCHANT_IDE','Givemart');
define('PAYMENT_MERCHANT_CHA','GM_WEB_CC');


define('paymentGatewayWSDLPath','http://robin.abcv.com:8580/merchantservice/services/MerchantService.wsdl');
define('paymentGatewayPath','http://robin.abcv.com:8580/merchantservice/services/MerchantService');

//define('paymentGatewayWSDLPath','http://192.168.3.14:8181/merchantservice/services/MerchantService.wsdl');
//define('paymentGatewayPath','http://192.168.3.14:8181/merchantservice/services/MerchantService');


define('DEBIT_CARD','Debit');

/* Code Order */
define('PREFIX_CODE','DCCA');
define('RA_PREFIX_CODE','RA');
define("PAYMENT_PARTIAL", "Partially Paid");
define("PAYMENT_PAID", "Paid");
define("PAYMENT_VOID", "Void");
define("PAYMENT_REFUND", "Refunded");
define("PAYMENT_PARTIAL_REFUND", "Partial Refunded");
define("PAYMENT_REPLACED", "Replaced");

/* CODE FOR REFUND */
define("AUTOMATED_CREIT_CARD_PAYMENT", "AUTOMATED_CREIT_CARD_PAYMENT");
define("DEDUCT_FROM_PAYOUT", "DEDUCT_FROM_PAYOUT");

/* send mail */
define('include_path_pear',"/opt/lampp/lib/php");

define('IMAGE_LOGO',BASEPATH.'/../images/logo.jpg');
define('IMAGE_LOGO_PDF',BASEPATH.'/../images/logo.jpg');
/* Date time */
define('DEFAULT_DATETIME_FORMAT', 'Y-m-d H:i');
/* tracking link: in code will replace YourTrackingNumber with real tracking number*/
define('USPS_TRACKING_NAME','USPS');
define('FEDEX_TRACKING_NAME','FEDEX');
define('UPS_TRACKING_NAME','UPS');
define('USPS_TRACKING','http://trkcnfrm1.smi.usps.com/PTSInternetWeb/InterLabelInquiry.do?origTrackNum=YourTrackingNumber');
define('FEDEX_TRACKING','http://www.fedex.com/Tracking?language=english&cntry_code=us&tracknumbers=YourTrackingNumber');
define('UPS_TRACKING','http://wwwapps.ups.com/WebTracking/processInputRequest?sort_by=status&tracknums_displayed=1&TypeOfInquiryNumber=T&loc=en_US&InquiryNumber1=YourTrackingNumber&track.x=0&track.y=0');

define("LOGFILE", "E:\log.txt");

define("PRODUCT_PATH", BASEPATH.  "../images/products/");
define("UPLOAD_PATH", BASEPATH. "../upload/");  
define('BANK_CRYPT_KEY','4ad7wlNOBPDCKCncRd');

// status of shipping 
define("SHIPMENT_PROCESSING", "Processing");
define("SHIPMENT_PARTIAL_SHIPPED", "Partially Shipped");
define("SHIPMENT_SHIPPED", "Shipped");

// status of order
define("ORDER_ORDERED", "Ordered");
define("ORDER_CANCELLED", "Cancelled");
define("ORDER_DELETED", "Deleted");
define("ORDER_COMPLETED", "Completed");
// action log
define("ACTION_ADD", "Add");
define("ACTION_UPDATE", "Update");
define("ACTION_DELETE", "Delete");
define("ACTION_ACCEPT", "Accept");
define("ACTION_VERIFY", "Verify");
define("ACTION_IMPORT", "Import");
define("ACTION_RESET", "Reset");

// action name
define("MANAGE_PLAYER", "Manage Player");

define("OUT_OF_SESSION", "Out Of Session");

define("REFUND_FULL_CANCEL", "Cancel");
define("REFUND_INDIVIDUAL", "Return");
define("REFUND_CREDIT", "Credit");


/* End of file constants.php */
/* Location: ./application/config/constants.php */